package com.sop.model.vo;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sop.model.WatchArrangements;

import common.base.BaseVo;

public class WatchArrangementsVo extends BaseVo{
	
	 private  WatchArrangements  watchArrangements;
	
	 private  Integer  changeIdOne;//要调换双方的值班记录id
	 
	 private  Integer  changeIdTwo;
	 
	 @DateTimeFormat(pattern = "yyyy-MM-dd")
	 private Date checkDate;//需要验证的日期
	 
	 private Integer  normalNumber;//正常班人数
	 
	 private Integer  earlyNumber;//早班人数
	 
	 private Integer  eveningNumber;//晚班人数
	 
	 private List<WatchArrangements> normal;//正常班人员集合
	 
	 private List<WatchArrangements> early;//早班人员 
	 
	 private List<WatchArrangements> evening;//晚班集合

	public WatchArrangementsVo() {
		super();
	}

	public WatchArrangementsVo(Date  date,Integer normalNumber,Integer  earlyNumber,Integer  eveningNumber) {
		this.checkDate=date;
		this.normalNumber=normalNumber;
		this.earlyNumber=earlyNumber;
		this.eveningNumber=eveningNumber;
	}
	
	public WatchArrangementsVo(Date date, List<WatchArrangements> normal,
			List<WatchArrangements> early, List<WatchArrangements> evening) {
		this.checkDate=date;
		this.normal=normal;
		this.early=early;
		this.evening=evening;
	}

	public WatchArrangements getWatchArrangements() {
		return watchArrangements;
	}

	public void setWatchArrangements(WatchArrangements watchArrangements) {
		this.watchArrangements = watchArrangements;
	}

	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	public Date getCheckDate() {
		return checkDate;
	}

	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}

	public Integer getNormalNumber() {
		return normalNumber;
	}

	public void setNormalNumber(Integer normalNumber) {
		this.normalNumber = normalNumber;
	}

	public Integer getEarlyNumber() {
		return earlyNumber;
	}

	public void setEarlyNumber(Integer earlyNumber) {
		this.earlyNumber = earlyNumber;
	}

	public Integer getEveningNumber() {
		return eveningNumber;
	}

	public void setEveningNumber(Integer eveningNumber) {
		this.eveningNumber = eveningNumber;
	}

	public List<WatchArrangements> getNormal() {
		return normal;
	}

	public void setNormal(List<WatchArrangements> normal) {
		this.normal = normal;
	}

	public List<WatchArrangements> getEarly() {
		return early;
	}

	public void setEarly(List<WatchArrangements> early) {
		this.early = early;
	}

	public List<WatchArrangements> getEvening() {
		return evening;
	}

	public void setEvening(List<WatchArrangements> evening) {
		this.evening = evening;
	}

	public Integer getChangeIdOne() {
		return changeIdOne;
	}

	public void setChangeIdOne(Integer changeIdOne) {
		this.changeIdOne = changeIdOne;
	}

	public Integer getChangeIdTwo() {
		return changeIdTwo;
	}

	public void setChangeIdTwo(Integer changeIdTwo) {
		this.changeIdTwo = changeIdTwo;
	}
	 
}
